/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controls;

import com.jme3.input.KeyInput;
import com.jme3.input.controls.KeyTrigger;
import java.util.HashMap;

/**
 *
 * @author adamgovan
 */
public class PlayerControls {
    
    public PlayerControls() {
    }

    public HashMap<String, KeyTrigger> PlayingKeys() {
        HashMap<String, KeyTrigger> output = new HashMap<String, KeyTrigger>();

        output.put("Lefts", new KeyTrigger(KeyInput.KEY_A));
        output.put("Rights", new KeyTrigger(KeyInput.KEY_D));
        output.put("Ups", new KeyTrigger(KeyInput.KEY_W));
        output.put("Downs", new KeyTrigger(KeyInput.KEY_S));
        output.put("Jumps", new KeyTrigger(KeyInput.KEY_SPACE));
        output.put("Crouches", new KeyTrigger(KeyInput.KEY_LCONTROL));
        output.put("Sprints", new KeyTrigger(KeyInput.KEY_LSHIFT));
        
        return output;

    }
}
